package net;

import java.rmi.RemoteException;

import net.rmi.Logon;

public class SocketLogon implements Logon {
	private final RemoteMethod rm;

	public SocketLogon(RemoteMethod rm) {
		this.rm = rm;

	}
	public String logon(String username, String remixPass, String openKey)
			throws RemoteException {
		return (String) rm.operation("logon", username, remixPass, openKey);
	}

}
